/*==============================================================================

  Program: 3D Slicer

  Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.

  See COPYRIGHT.txt
  or http://www.slicer.org/copyright/copyright.txt for details.

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

==============================================================================*/

// baptransform Logic includes
#include <vtkSlicerbaptransformLogic.h>

// baptransform includes
#include "qSlicerbaptransformModule.h"
#include "qSlicerbaptransformModuleWidget.h"

//-----------------------------------------------------------------------------
/// \ingroup Slicer_QtModules_ExtensionTemplate
class qSlicerbaptransformModulePrivate
{
public:
  qSlicerbaptransformModulePrivate();
};

//-----------------------------------------------------------------------------
// qSlicerbaptransformModulePrivate methods

//-----------------------------------------------------------------------------
qSlicerbaptransformModulePrivate::qSlicerbaptransformModulePrivate()
{
}

//-----------------------------------------------------------------------------
// qSlicerbaptransformModule methods

//-----------------------------------------------------------------------------
qSlicerbaptransformModule::qSlicerbaptransformModule(QObject* _parent)
  : Superclass(_parent)
  , d_ptr(new qSlicerbaptransformModulePrivate)
{
}

//-----------------------------------------------------------------------------
qSlicerbaptransformModule::~qSlicerbaptransformModule()
{
}

//-----------------------------------------------------------------------------
QString qSlicerbaptransformModule::helpText() const
{
  return "This is a loadable module that can be bundled in an extension";
}

//-----------------------------------------------------------------------------
QString qSlicerbaptransformModule::acknowledgementText() const
{
  return "This work was partially funded by NIH grant NXNNXXNNNNNN-NNXN";
}

//-----------------------------------------------------------------------------
QStringList qSlicerbaptransformModule::contributors() const
{
  QStringList moduleContributors;
  moduleContributors << QString("John Doe (AnyWare Corp.)");
  return moduleContributors;
}

//-----------------------------------------------------------------------------
QIcon qSlicerbaptransformModule::icon() const
{
  return QIcon(":/Icons/baptransform.png");
}

//-----------------------------------------------------------------------------
QStringList qSlicerbaptransformModule::categories() const
{
  return QStringList() << "Examples";
}

//-----------------------------------------------------------------------------
QStringList qSlicerbaptransformModule::dependencies() const
{
  return QStringList();
}

//-----------------------------------------------------------------------------
void qSlicerbaptransformModule::setup()
{
  this->Superclass::setup();
  //self.ui.inputSelector.connect("currentNodeChanged(vtkMRMLNode*)", self.updateParameterNodeFromGUI)

}

//-----------------------------------------------------------------------------
qSlicerAbstractModuleRepresentation* qSlicerbaptransformModule
::createWidgetRepresentation()
{
  return new qSlicerbaptransformModuleWidget;
}

//-----------------------------------------------------------------------------
vtkMRMLAbstractLogic* qSlicerbaptransformModule::createLogic()
{
  return vtkSlicerbaptransformLogic::New();
}
